package com.cgwx.tmservice.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author GaoWei
 * @Date 2023/9/12 - 9:09
 */

@Data
@Api(tags = "下载遥测原码记录表格实体类")
public class TmFrameExcelDownloadVo {

    @ApiModelProperty(value = "遥测帧标识符")
    @ExcelProperty(value = "遥测帧标识符", index = 0)
    private String tmframeIdentifiers;

    @ApiModelProperty(value = "遥测帧原码数据")
    @ExcelProperty(value = "遥测帧原码数据", index = 1)
    private String value;

    @ApiModelProperty(value = "数据通路c:can,s:s,x:x,cor:cortex")
    @ExcelProperty(value = "数据通路", index = 2)
    private String dataChannel;

    @ApiModelProperty(value = "下行时间")
    @ExcelProperty(value = "下行时间", index = 3)
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    private Date gmtCreate;
}
